package com.sky.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 剧组人员管理对象 tb_crew_member
 * 
 * @author ruoyi
 * @date 2025-11-08
 */
public class TbCrewMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员id */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private String code;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 薪资（元/月） */
    @Excel(name = "薪资", readConverterExp = "元=/月")
    private Long salary;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 专业技能 */
    @Excel(name = "专业技能")
    private String specialty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSalary(Long salary) 
    {
        this.salary = salary;
    }

    public Long getSalary() 
    {
        return salary;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("department", getDepartment())
            .append("name", getName())
            .append("salary", getSalary())
            .append("position", getPosition())
            .append("specialty", getSpecialty())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
